/*
 * @Author: jiu yin
 * @Date: 2023-04-27 14:23:19
 * @LastEditTime: 2023-10-13 12:08:43
 * @LastEditors: jiu yin zhen jing
 * @FilePath: \ai-admin\src\comment\mobileWarp\index.tsx
 * jiu
 */
import { useState, useEffect, useRef } from "react";

import "./index.scss";

import { useNavigate, useSearchParams } from "react-router-dom";

function MobileWarp(props: any) {
   let navigate = useNavigate();
   let { height, width } = props;
   return (
      <>
         <div className="editor-wrapper">
            <div id="mobile-wrapper" style={{ height: height || "800px", width: width || "443px" }}>
               <div className="mobile">{props.children}</div>
            </div>
         </div>
      </>
   );
}

export default MobileWarp;
